/**
 * 
 */
package com.ideeli.webextractor.exe;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;

import com.ideeli.webextractor.context.WebExatractorContext;
import com.ideeli.webextractor.service.EbGenBlockService;

/**
 * @author sa
 *
 */
public class GenerateEbItems
{

	private static final Logger logger = Logger.getLogger(GenerateEbItems.class);
	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception
	{
		logger.info("start generating eb block files");
		ApplicationContext context =WebExatractorContext.getApplicationContext();
		
		logger.info("Context initialized...");
		EbGenBlockService ebGenBlock=context.getBean("ebgenblock",EbGenBlockService.class);
		ebGenBlock.generateEbBlock();
		
		logger.info("finish generating eb block files");
	}
	
	

}
